package com.blds.mc.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stwyj
 * @since 2018-06-24
 */
@TableName("mc_type")
public class McType extends Model<McType> {

    private static final long serialVersionUID = 1L;

    private Integer id;
    @TableField("type_name")
    private String typeName;
    @TableField("create_time")
    private Date createTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "McType{" +
        "id=" + id +
        ", typeName=" + typeName +
        ", createTime=" + createTime +
        "}";
    }
}
